#include "Mutex.h"

Mutex::Mutex()
{
    pthread_mutex_init(&_mutex, NULL);
}

Mutex::~Mutex()
{
    pthread_mutex_destroy(&_mutex);
}

void Mutex::Acquire()
{
    pthread_mutex_lock(&_mutex);
}

void Mutex::Release()
{
    pthread_mutex_unlock(&_mutex);
}
